package com.tensquare.rsa;

/**
 * rsa加解密用的公钥和私钥
 * @author Administrator
 *
 */
public class RsaKeys {

	//生成秘钥对的方法可以参考这篇帖子
	//https://www.cnblogs.com/yucy/p/8962823.html

//	//服务器公钥
//	private static final String serverPubKey = "";
//
//	//服务器私钥(经过pkcs8格式处理)
//	private static final String serverPrvKeyPkcs8 = "";

	//服务器公钥
	private static final String serverPubKey = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoQsOfSmyxmq2UecX8qFO" +
			"2Eli8nOFDIrmTHjzb1DkQiNNxlP1YceShjnEgaU75dp9OrDEUMnocwGGodWvLAzr" +
			"o/h7g+HuVGXXzl8O+tDs06yWsnSa9KU3l4oETuiJV01lcp2tsTNhfMzoX1xyCvex" +
			"kcAlWJLr86YhMsgk9F5v2RYvgLPG1yEcKG3avArvfFZgK7N06strTK/M3Llc/puB" +
			"Q1w+NhY0O15m1jhWysgduQfW2sCrETiTrWgu32DmMtW297Lq1dGJNIPwygjantwq" +
			"o+R8D4RydbnASTNCwBDEKn074CpjXLSeVDwYr7R2SxV81raKWS1Qgic1NogUbiXW" +
			"fQIDAQAB";

	//服务器私钥(经过pkcs8格式处理)
	private static final String serverPrvKeyPkcs8 = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQChCw59KbLGarZR" +
			"5xfyoU7YSWLyc4UMiuZMePNvUORCI03GU/Vhx5KGOcSBpTvl2n06sMRQyehzAYah" +
			"1a8sDOuj+HuD4e5UZdfOXw760OzTrJaydJr0pTeXigRO6IlXTWVyna2xM2F8zOhf" +
			"XHIK97GRwCVYkuvzpiEyyCT0Xm/ZFi+As8bXIRwobdq8Cu98VmArs3Tqy2tMr8zc" +
			"uVz+m4FDXD42FjQ7XmbWOFbKyB25B9bawKsROJOtaC7fYOYy1bb3surV0Yk0g/DK" +
			"CNqe3Cqj5HwPhHJ1ucBJM0LAEMQqfTvgKmNctJ5UPBivtHZLFXzWtopZLVCCJ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9nqWxEYmJSMF5I9kRafZ7JDN+DmIPicI4u2aC/qm0" +
			"vwY6U77OFoybZoJUss9S5d4SWMBQ+pPDValKbXDizQKBgQCjpDRPyLRsKuEy5KrF" +
			"suw0CdWS+SDZo4u2DmzQZVewlUbTtrCvjdmXxvYuwHaqdhZQFBBLrwfrtirux1Uy" +
			"//xJSJFvCyRSgqQe8nM9MxyzNNLP6qagMCrZjbL7Rh2UePNysqW4hFto1C5cF+sI" +
			"Hsj+0Q08c2vwvFb56M5Utjqakw==";

	public static String getServerPubKey() {
		return serverPubKey;
	}

	public static String getServerPrvKeyPkcs8() {
		return serverPrvKeyPkcs8;
	}

}
